<template>
  <div>
    <div>
      sadsa sadsa
      <div
        class="iconfont"
        style="font-size: 0.6rem; margin-right: 0.2rem"
        v-if="store.judgeplay"
      ></div>
      <div>{{ store.getjudgeplay }}</div>
      <div>{{ store.judgeplay }}</div>
    </div>
    <button @click="p">1521548</button>
  </div>
</template>

<script>
import { useStore } from "../stores/index.js";
export default {
  setup() {
    const store = useStore();
    function p() {
      store.getjudgeplay(true);
    }

    return {
      // 您可以返回整个 store 实例以在模板中使用它
      store,
      p,
      // getjudgeplay:store.getjudgeplay
    };
  },
};
</script>

<style></style>
